//
//  UILable+Extension.swift
//  XLWibo-Swift
//
//  Created by 王林 on 2016/11/13.
//  Copyright © 2016年 木木. All rights reserved.
//

import UIKit

extension UILabel{
    
    convenience init(title:String,titleColor: UIColor,font: UIFont) {
        self.init()
        
        self.text = title
        self.textColor = titleColor
        self.font = font
        self.numberOfLines = 0
        
        self.sizeToFit()
    }
    
}
